package my.diplom.dao;

import my.diplom.entity.Event;
import my.diplom.entity.Host;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: gb
 * Date: 03.11.2009
 * Time: 1:08:07
 * To change this template use File | Settings | File Templates.
 */
public interface IHostDAO {

    void create(Host host);

    void update(Host host);

    Host getById(Long hostId);

    Host getById(Long hostId, boolean initAll);

    List<Host> getAll();

    List<Host> getActiveHosts();

    void delete(Host host);

}
